<input
  class="title-document"
  type="text"
  name="documentTitle"
  ng-change="updateDocument()"
  ng-model-options="{ debounce: 500 }"
  ng-model="currentDocument.title">
